/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

/**
 *
 * @author jarul
 */
public class Mahasiswa {
    
    private int id;
    private int nim;
    private String nama;
    private String kelas;
    
    public Mahasiswa() {
    }
    
    public Mahasiswa(int nim, String nama, String kelas) {
        this.nim = nim;
        this.nama = nama;
        this.kelas = kelas;
    }
    
    public void setNim(int nim) {
        this.nim = nim;
    }
    
    public int getNim() {
        return nim;
    }
    
    public void setNama(String nama) {
        this.nama = nama;
    }
    
    public String getNama() {
        return nama;
    }
    
    public void setKelas(String kelas) {
        this.kelas = kelas;
    }
    
    public String getKelas() {
        return kelas;
    }
    
}
